package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

/**
 * @author RJ
 * @date 2022/9/13 16:23
 */
/*
    会商灾情
 */
@TableName("confer_info")
public class ConferBean {
    //灾情id
    @TableId(value = "confer_id", type = IdType.AUTO)
    private Integer conferId;
    //会商人员
    @TableField("confer_staff")
    private String conferStaff;
    //会商结果
    @TableField("confer_result")
    private String conferResult;
    //会商日期
    @TableField("confer_date")
    private LocalDate conferDate = LocalDate.now();

    public ConferBean() {
    }

    public ConferBean(String conferStaff, String conferResult) {
        this.conferStaff = conferStaff;
        this.conferResult = conferResult;
    }

    public Integer getConferId() {
        return conferId;
    }

    public void setConferId(Integer conferId) {
        this.conferId = conferId;
    }

    public String getConferStaff() {
        return conferStaff;
    }

    public void setConferStaff(String conferStaff) {
        this.conferStaff = conferStaff;
    }

    public String getConferResult() {
        return conferResult;
    }

    public void setConferResult(String conferResult) {
        this.conferResult = conferResult;
    }

    public LocalDate getConferDate() {
        return conferDate;
    }

    public void setConferDate(LocalDate conferDate) {
        this.conferDate = conferDate;
    }

    @Override
    public String toString() {
        return "ConferBean{" +
                "conferId=" + conferId +
                ", conferStaff='" + conferStaff + '\'' +
                ", conferResult='" + conferResult + '\'' +
                ", conferDate=" + conferDate +
                '}';
    }
}
